// console.log('hello world');



const xhr = new XMLHttpRequest();

xhr.open('get','/api/goods/list');

xhr.onload = function(){
    console.log(JSON.parse(xhr.responseText));
}

xhr.send();